@layout("/common/_container.html"){
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-form form-board" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
<input type="hidden" id="accountId" name="accountId" value="${account.accountId}">
<input type="hidden" id="account" name="account" value="${account.account}">
<input type="hidden" id="userId" name="userId" value="${account.userId}">
<div class="layui-form-item">
	<div class="layui-inline">
     <label class="layui-form-label">用户名</label>
     <div class="layui-input-inline">
     	<div class="layui-form-mid" style="width: 500px;">${account.userName}</div>
     </div>
   </div>
   <div class="layui-inline">
     <label class="layui-form-label">差分账号</label>
     <div class="layui-input-inline">
       <div class="layui-form-mid" style="width: 500px;">${account.account}</div>
     </div>
   </div>
</div>
<div class="layui-form-item">
 	<div class="layui-inline">
     <label class="layui-form-label">设备型号</label>
     <div class="layui-input-inline">
     	<div class="layui-form-mid" style="width: 500px;">${account.machineModel}</div>
     </div>
   </div>
   <div class="layui-inline">
     <label class="layui-form-label">系统标识</label>
     <div class="layui-input-inline">
       <div class="layui-form-mid" style="width: 500px;">${account.systemSign}</div>
     </div>
   </div>
</div>
<div class="layui-form-item">
	<div class="layui-inline">
     <label class="layui-form-label">电子围栏</label>
     <div class="layui-input-inline">
     	 <select name="eleFenceId" lay-verify="required">
	        @for(eleFence in eleFenceList){
	        	<option value="${eleFence.eleFenceId}" 
	        	@if(eleFence.eleFenceId == account.eleFenceId){
				 selected=""
				@}
	        	>${eleFence.fenceName}</option>
	        @}
	      </select>
     </div>
   </div>
</div>
<div class="layui-form-item layui-hide">
  <input type="button" lay-submit lay-filter="update-submit" id="update-submit" value="确认">
</div>
</div>
</div>
</div>


<script>
  layui.config({
	 base: Feng.ctxPath + '/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form','laydate'], function(){
    var $ = layui.$
    ,form = layui.form
    ,laydate = layui.laydate;
  })
  </script>
@}

